package cn.uniqueinfo.dp.mapper;

import cn.uniqueinfo.dp.vo.FormButtonVO;
import cn.uniqueinfo.dp.vo.RoleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2019-01-24 15:27:47
 * @description:业务表单按钮设置
 */
@Mapper
@Component
public interface FormButtonMapper extends BaseMapper<FormButtonVO> {
    Integer deleteByFormName(@Param(value = "form_name") String formName);

    List<FormButtonVO> findButtons(@Param(value = "formName") String formName, @Param(value = "list") List<RoleVO> list);
}
